package com.dream21th.gateway.fliter;

import org.apache.commons.lang3.StringUtils;

import java.util.Arrays;
import java.util.List;

public class FilterUtils {

    private static List<String> excludes = Arrays.asList("/user/login","/captcha.jpg");


    public static boolean filter(String url){
        return StringUtils.contains(url,"/openapi")&&!excludes.contains(url);

    }
}
